package com.sgb.goods.entity.inquiry;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * 说明：商品模块--发布询价
 * 截止时间实体类
 *
 * @author qiangHeNoo
 * <p>
 * 日期：2021.08.25
 */
public class GoodsInquiryEndTimeEntity implements IPickerViewData, Serializable {
    /**
     * value : 卖方送达验收
     * key : 1
     */
    @SerializedName(value = "name", alternate = {"value"})
    private String name;

    @SerializedName(value = "no", alternate = {"key"})
    private String no;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public GoodsInquiryEndTimeEntity(String name, String no) {
        this.name = name;
        this.no = no;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }
}
